send  ms outlook mail via command line
Hi, I want to send outlook mail via command line I found the command -[outlook.exe /c ipm.note /m "someone@microsoft.com&subject=test%20subject&body=test%20body"] . but this command create the mail but not send automatically. I need full command that create mail and send automatic. Please help me with example. I really appreciate help. Thanks!!!!!!
August 15th, 2012 8:50pm

Please post in the outlook forum. Per the switch it only creates. http://social.technet.microsoft.com/Forums/en/outlook/threadsJames Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
August 15th, 2012 9:11pm

Hi, Ive helped you move the thread to the Office forum so that your issue/question can be resolved/addressed more efficiently. Thanks, Simon
August 16th, 2012 6:01am

Sorry, I have no idea do that via Command-line. However, you may achive it by VBS: ============ Dim olApp Dim objMailItem Set olApp = CreateObject("Outlook.Application") Set objMailItem = olApp.CreateItem(0) objMailItem.Subject = "Test" objMailItem.To = "someone@microsoft.com" objMailItem.Body = "Test" objMailItem.Send Set olApp = Nothing Set objMailItem = Nothing Hope this helps. Tony Chen TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
August 16th, 2012 6:05am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics